using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using DotNetNuke;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Modules.Actions;
using DotNetNuke.Security;
using DotNetNuke.Services.Exceptions;
using DotNetNuke.Services.Localization;
using DotNetNuke.Entities.Users;
using DotNetNuke.Security.Roles;
using DotNetNuke.Entities.Modules.Communications;
namespace Jfc007.WebLib
{
    public partial class Actions : PortalModuleBase, IModuleCommunicator
    {
        public event ModuleCommunicationEventHandler ModuleCommunication;

        protected void Page_Load ( object sender, EventArgs e )
        {



        }

        protected void btnDelete_Click ( object sender, ImageClickEventArgs e )
        {
            ModuleCommunicationEventArgs oArgs = new ModuleCommunicationEventArgs();
            oArgs.Text = "Delete";
            oArgs.Sender = "Actions";
            oArgs.Target = "MainPanel";

            if (ModuleCommunication != null)
                ModuleCommunication( this, oArgs );
        }

        protected void btnRefresh_Click ( object sender, EventArgs e )
        {
            ModuleCommunicationEventArgs oArgs = new ModuleCommunicationEventArgs();
            oArgs.Text = "Refresh";
            oArgs.Sender = "Actions";
            oArgs.Target = "MainPanel";

            if (ModuleCommunication != null)
                ModuleCommunication( this, oArgs );
        }

        protected void btnStars_Click ( object sender, ImageClickEventArgs e )
        {
            ModuleCommunicationEventArgs oArgs = new ModuleCommunicationEventArgs();
            oArgs.Text = "Stars";
            oArgs.Sender = "Actions";
            oArgs.Target = "MainPanel";

            if (ModuleCommunication != null)
                ModuleCommunication( this, oArgs );
        }

 

       

        

         
        
    }
}